package com.kuaimacode.kframework.mybatis.models.index;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 内容表（相关协议、说明、关于我们、客服电话等）
 * </p>
 *
 * @author Bean
 * @since 2019-03-15
 */
@Data
@TableName("content")
public class Content implements java.io.Serializable{
	@TableField(exist=false)
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
	private Integer id;

    @ApiModelProperty(value = "协议类型")
    @TableField("type")
	private Byte type;

    @ApiModelProperty(value = "协议内容")
    @TableField("content")
    private String content;
}
